<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"
%><%@ taglib prefix="tags" tagdir="/WEB-INF/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<c:if test="${includeBody}">
<head>
    <title><fmt:message key="clickStreamRequest" /></title>
</head>
<body>
</c:if>
    <div id="clickStreamRequestSearchResultFragment">
        <h1><fmt:message key="clickStreamRequest" /></h1>
        <script type="text/javascript">
            dojo.addOnLoad(function() {
                dojo.query(".clickStreamRequestAjaxSearch").forEach(function(element) {
                    Spring.addDecoration(new Spring.AjaxEventDecoration({
                        elementId: element.id,
                        event: "onclick",
                        params: { decorator: "none" }
                    }));
                })

                dojo.query(".clickStreamRequestAjaxDelete").forEach(function(element) {
                    Spring.addDecoration(new Spring.AjaxEventDecoration({
                        elementId: element.id,
                        event: "onclick",
                        popup: "true",
                        params: { decorator: "none" }
                    }));
                })
            });
        </script>
        <c:url var="searchUrl" value="/domain/clickStreamRequest/searchAjax"/>
        <table class="listEntities">
            <thead>
                <tr>
                    <th scope="col">
                        <a id="sortLinkclickstreamId" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.clickstreamIdQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_clickstreamId"/>&nbsp;${clickStreamRequestSearchForm.clickstreamIdSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkserverName" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.serverNameQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_serverName"/>&nbsp;${clickStreamRequestSearchForm.serverNameSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkprotocol" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.protocolQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_protocol"/>&nbsp;${clickStreamRequestSearchForm.protocolSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkserverPort" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.serverPortQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_serverPort"/>&nbsp;${clickStreamRequestSearchForm.serverPortSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkrequestUri" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.requestUriQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_requestUri"/>&nbsp;${clickStreamRequestSearchForm.requestUriSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkrequestOrder" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.requestOrderQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_requestOrder"/>&nbsp;${clickStreamRequestSearchForm.requestOrderSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkqueryString" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.queryStringQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_queryString"/>&nbsp;${clickStreamRequestSearchForm.queryStringSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinktimestampper" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.timestampperQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_timeStampper"/>&nbsp;${clickStreamRequestSearchForm.timestampperSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">
                        <a id="sortLinkhostInode" class="clickStreamRequestAjaxSearch" href="${searchUrl}?${clickStreamRequestSearchForm.hostInodeQueryStringForSortableHeader}">
                            <fmt:message key="clickStreamRequest_hostInode"/>&nbsp;${clickStreamRequestSearchForm.hostInodeSortStatusEntity}
                        </a>
                    </th>
                    <th scope="col">&nbsp;</th>
                </tr>
            </thead>
            <tbody>
            <c:forEach items="${clickStreamRequests}" var="clickStreamRequest" varStatus="status">
                <tr>
                    <td>
                        <c:url var="showUrl1" value="/domain/clickStream/show">
                            <c:param name="clickStream.inode"><c:out value="${clickStreamRequest.clickstreamInode}"/></c:param>
                        </c:url>
                        <a href="${showUrl1}"><c:out value="${clickStreamRequest.clickstreamInode}"/></a>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.serverName}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.protocol}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.serverPort}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.requestUri}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.requestOrder}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.queryString}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.timeStampper}"/>
                    </td>
                    <td>
                        <c:out value="${clickStreamRequest.hostInode}"/>
                    </td>
                    <td>
                        <c:url var="showUrl" value="/domain/clickStreamRequest/show">
                            <c:param name="clickStreamRequest.inode" value="${clickStreamRequest.inode}"/>
                        </c:url>
                        <c:url var="confirmDeleteUrl" value="/domain/clickStreamRequest/confirmDelete">
                            <c:param name="clickStreamRequest.inode" value="${clickStreamRequest.inode}"/>
                        </c:url>
                        <a class="actionShow" href="${showUrl}"><fmt:message key="label.link.show"/></a>
                        <a class="actionDelete clickStreamRequestAjaxDelete" id="confirmDeleteUrl${status.index}" href="${confirmDeleteUrl}"><fmt:message key="label.link.delete"/></a>
                    </td>
                </tr>

            </c:forEach>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="11">
                        <p>
                            <tags:navigation pager="${pagerDisplay}" url="${searchUrl}" form="${clickStreamRequestSearchForm}"/>
                        </p>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
<c:if test="${includeBody}">
</body>
</c:if>